package ui.activity.mine;

import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;
import base.activity.BaseLayoutActivity;
import com.dispatchapp.andlei.R;

/**
 * 保证金 界面
 * @author Andlei
 * @DATE 2019/1/22
 */
public class BondActivity extends BaseLayoutActivity {
    private TextView tv_money,tv_mianjiao_bond;
    private ImageView img_tui_bond;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setTitle("保证金",true);
        setTitlefontBg_black();
    }

    @Override
    protected int getLayoutId() {
        return R.layout.activity_bond;
    }

    @Override
    protected void findViews() {
        tv_money = getView(R.id.tv_money);
        tv_mianjiao_bond =  getView(R.id.tv_mianjiao_bond);
        img_tui_bond = getView(R.id.img_tui_bond);
    }

    @Override
    protected void formatViews() {
        tv_mianjiao_bond.setOnClickListener(this);
        img_tui_bond.setOnClickListener(this);
    }

    @Override
    protected void formatData() {

    }

    @Override
    protected void getBundle(Bundle bundle) {

    }

    @Override
    public void onClick(View view) {
        switch (view.getId()){
            case R.id.tv_mianjiao_bond:
                //如何免交保证金
                break;
            case R.id.img_tui_bond:
                //退还到余额
                break;
        }
    }
}
